from fastapi import FastAPI
from routers.mail import router as mail_router

app = FastAPI()

@app.get("/")
def read_root():
    return {"message": "Welcome to the FastAPI Mail Server"}

app.include_router(mail_router)


if __name__ == "__main__":
    import uvicorn
    uvicorn.run(app, host="0.0.0.0", port=8000)